package com.weight.system.overload.VO;

import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 超重记录表
 */
@Data
public class OverloadInfoVO implements Serializable {

	private static final long serialVersionUID = 2814639517974791520L;

	@Excel(name = "设备清单id")
	@JSONField(name = "overloadId")
	private String overloadId; //设备清单id

	@Excel(name = "设备id")
	@NotBlank(message = "设备id不能为空")
	@JSONField(name = "equmtId")
	private String equmtId; //设备id

	@Excel(name = "机构id")
	@NotBlank(message = "机构id不能为空")
	@JSONField(name = "orgId")
	private String orgId; //机构id

	@Excel(name = "重量")
	@NotNull(message = "重量不能为空")
	@JSONField(name = "overloadCount")
	private BigDecimal overloadCount; //重量

	@Excel(name = "称重时间")
	@NotBlank(message = "称重时间不能为空")
	@JSONField(name = "overloadDate")
	private String overloadDate; //称重时间


	public  OverloadInfoVO(){
		super();
	}

	public  OverloadInfoVO(String overloadId,String equmtId,String orgId,BigDecimal overloadCount,String overloadDate){
		super();
		this.overloadId = overloadId;
		this.equmtId = equmtId;
		this.orgId = orgId;
		this.overloadCount = overloadCount;
		this.overloadDate = overloadDate;
	}

}